package com.ljpz.manage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by liujunchen on 2016/11/27.
 */
@Controller
@RequestMapping("page")
public class
PageController {
    /**
     * 具体跳转页面通用逻辑
     * @Param 页面名称
     * @Return 视图名称
     */
    @RequestMapping(value ="{pagename}",method = RequestMethod.GET)
    public  String  topage(@PathVariable("pagename")String pageName ){
        return  pageName ;
    }
}
